<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .one {
            width: 400px;
            /* height: 400px; */
            background-color: #0077ff;
            /* overflow: hidden; */
        }

        .one::after {
            content: "";
            display: block;
            clear: both;
        }

        .two {
            width: 100px;
            height: 100px;
            background-color: #ff0000;
            margin: 5px;
            float: left;

        }

        .text {
            width: 100px;
            height: 100px;
            background-color: #00be49;
            clear: both;

        }
    </style>
</head>

<body>
    <div class="one">
        <div class="two"></div>
        <div class="two"></div>
        <div class="text"></div>

    </div>


</body>

</html>